//
//  LineModel.h
//  ImGuider
//
//  Created by llt on 2017/6/19.
//  Copyright © 2017年 imguider. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GuiderCardModel.h"
#import "ScenicPoint.h"
#import "Comment.h"
#import "Question.h"

@interface LineModel : NSObject


@property (nonatomic, copy) NSString *lineid, *unionid, *linename, *score, *recordpath, *pictures, *labels, *playpath ,*guideid, *timelabel, *price, *country, *city, *recordcount, *visits, *transport, *hasscore, *comment, *maps, *questionTimes, *type, *questionnum, *commentnum, *pricelevel, *linedesc;//type 线路类型（1城市导览，2模版景点，3自定义景点）；pricelevel 0为免费；transport 交通方式（1步行，2巴士，3轮船，4自驾）；

@property (nonatomic , strong) NSArray *linepics;

@property (nonatomic) BOOL bought, cansearch, hasmap, inroom,canask;


@property (nonatomic, strong) GuiderCardModel *guide;

@property (nonatomic , strong) NSArray <ScenicPoint *> *records;
@property (nonatomic , strong) NSArray <Comment *> *comments;
@property (nonatomic , strong) NSArray <Question *> *questions;


@property (nonatomic, strong) NSDate *downloadTime, *updateTime;
@property (nonatomic, strong) NSNumber *localID;

@property (nonatomic) DownloadState state;
@property (nonatomic) CGFloat progress;
@property (nonatomic) BOOL isUpdate;// 是否更新

@property (nonatomic, strong) NSArray * pictureArray;

@property (nonatomic,strong)NSMutableArray * tagArray;

@property (nonatomic,strong)NSMutableArray * mapPicArray;
@end
